package com.sanmu.bean;

/**
 * @version 1.0
 * @Author xinnian
 * @Date 2024/9/14 13:12
 * @注释
 * @create: 2024-09-14 13:12
 */

public class Cat {
    private Integer id;

    private String name;

    public Cat() {
/*        System.out.println("Cat无参构造被执行");*/
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }



    public void setName(String name) {
        this.name = name;
    }

    public Cat(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
}
